home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mlib39d.zoo
/
diffh
< prev
next >
Wrap
Text File
|
1993-10-27
|
6KB
|
208 lines
*** 38.1 1993/10/21 16:12:46
--- ./PatchLev.h 1993/10/21 18:47:18
***************
*** 3,6 ****
* directory.
*/
! #define _PatchLevel "38"
--- 3,6 ----
* directory.
*/
! #define _PatchLevel "39"
*** 38.1 1993/10/21 16:12:46
--- ./errno.h 1993/10/21 16:20:16
***************
*** 78,83 ****
--- 78,84 ----
# define ELOOP EMLINK
#define EPIPE 81 /* write to broken pipe */
# define EEXIST 85 /* file exists, try again later */
+ # define ENOTEMPTY EEXIST
# define ENAMETOOLONG 86 /* name too long */
# define ENOTTY 87
# define ERANGE 88
*** 38.1 1993/10/21 16:12:46
--- ./limits.h 1993/10/23 18:44:38
***************
*** 69,109 ****
* the illegally small values for some constants (e.g. _POSIX_LINK_MAX)
*/
! #define _POSIX_ARG_MAX 4096
! #define _POSIX_CHILD_MAX 6
! #define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 64 /* <- NON-CONFORMING */
#define _POSIX_MAX_INPUT 64 /* <- NON-CONFORMING */
! #define _POSIX_NAME_MAX 14
#define _POSIX_NGROUPS_MAX 512 /* <- arbitrary */
! #define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 128 /* <- NON-CONFORMING */
#define _POSIX_PIPE_BUF 512
#define _POSIX_STREAM_MAX _NFILE
#ifndef __STRICT_ANSI__
#ifndef STREAM_MAX
#define STREAM_MAX _NFILE
#endif
#define NGROUPS_MAX _POSIX_NGROUPS_MAX
#if 0
/* both of these are actually limited by available memory */
#define ARG_MAX 32767
#define CHILD_MAX 16
#endif
! #define OPEN_MAX 20
! #ifdef __MINT__
! # define LINK_MAX 32767
! #else
! # define LINK_MAX 1
! #endif
#define MAX_CANON _POSIX_MAX_CANON
#define MAX_INPUT _POSIX_MAX_INPUT
! #define NAME_MAX 31
! /* actually, MiNT file systems _could_ support more */
/* _LIB_NAME_MAX longest name supported in the library
* before you change this, please look at stat.c, symdir.c, dirent.[ch],
--- 69,112 ----
* the illegally small values for some constants (e.g. _POSIX_LINK_MAX)
*/
! #define _POSIX_ARG_MAX 32767 /* Actually limited by memory */
! #define _POSIX_CHILD_MAX 16 /* Actually limited by memory */
! #define _POSIX_LINK_MAX 32767
#define _POSIX_MAX_CANON 64 /* <- NON-CONFORMING */
#define _POSIX_MAX_INPUT 64 /* <- NON-CONFORMING */
! #define _POSIX_NAME_MAX 31 /* <- arbitrary */
#define _POSIX_NGROUPS_MAX 512 /* <- arbitrary */
! #define _POSIX_OPEN_MAX 32
#define _POSIX_PATH_MAX 128 /* <- NON-CONFORMING */
#define _POSIX_PIPE_BUF 512
#define _POSIX_STREAM_MAX _NFILE
+ #ifndef __MINT__
+ #undef _POSIX_LINK_MAX
+ #define _POSIX_LINK_MAX 1
+ #undef _POSIX_NGROUPS_MAX
+ #define _POSIX_NGROUPS_MAX 0
+ #endif /* __MINT__ */
+
#ifndef __STRICT_ANSI__
#ifndef STREAM_MAX
#define STREAM_MAX _NFILE
#endif
#define NGROUPS_MAX _POSIX_NGROUPS_MAX
+
#if 0
/* both of these are actually limited by available memory */
#define ARG_MAX 32767
#define CHILD_MAX 16
#endif
! #define OPEN_MAX _POSIX_OPEN_MAX
! #define LINK_MAX _POSIX_LINK_MAX
#define MAX_CANON _POSIX_MAX_CANON
#define MAX_INPUT _POSIX_MAX_INPUT
! #define NAME_MAX _POSIX_NAME_MAX
/* _LIB_NAME_MAX longest name supported in the library
* before you change this, please look at stat.c, symdir.c, dirent.[ch],
***************
*** 114,120 ****
#ifndef __MINT__
# define _LIB_NAME_MAX 32 /* CAUTION: dont make this any smaller */
#else
! # define _LIB_NAME_MAX NAME_MAX
#endif
#define PATH_MAX _POSIX_PATH_MAX
--- 117,123 ----
#ifndef __MINT__
# define _LIB_NAME_MAX 32 /* CAUTION: dont make this any smaller */
#else
! # define _LIB_NAME_MAX _POSIX_NAME_MAX
#endif
#define PATH_MAX _POSIX_PATH_MAX
*** 38.1 1993/10/21 16:12:46
--- ./time.h 1993/10/25 09:56:26
***************
*** 73,84 ****
/* violation of ANSI standard, but POSIX wants it... sigh */
__EXTERN void tzset __PROTO((void));
! #ifndef __STRICT_ANSI__
__EXTERN clock_t _clock __PROTO((void));
__EXTERN int gettimeofday __PROTO((struct timeval *, struct timezone *));
__EXTERN int settimeofday __PROTO((struct timeval *, struct timezone *));
! __EXTERN int select __PROTO((int, long *, long *, long *,
struct timeval *));
#define timercmp(tva, tvb, op) \
--- 73,89 ----
/* violation of ANSI standard, but POSIX wants it... sigh */
__EXTERN void tzset __PROTO((void));
! #if !defined(__STRICT_ANSI__) && !defined(_POSIX_SOURCE)
__EXTERN clock_t _clock __PROTO((void));
__EXTERN int gettimeofday __PROTO((struct timeval *, struct timezone *));
__EXTERN int settimeofday __PROTO((struct timeval *, struct timezone *));
! #ifndef _FD_SET_T
! #define _FD_SET_T unsigned long
! typedef _FD_SET_T fd_set;
! #endif
!
! __EXTERN int select __PROTO((int, fd_set *, fd_set *, fd_set *,
struct timeval *));
#define timercmp(tva, tvb, op) \
*** 38.1 1993/10/21 16:12:46
--- ./types.h 1993/10/25 09:53:14
***************
*** 38,44 ****
#define minor(dev) ((dev) & 0x00ff)
#define makedev(x,y) ((dev_t) ((((x) & 0xff) << 8) | ((y) & 0xff)))
! typedef unsigned long fd_set;
#define FD_ZERO(set) (*(set) = 0L)
#define FD_CLR(fd, set) (*(set) &= ~(1L << (fd)))
--- 38,47 ----
#define minor(dev) ((dev) & 0x00ff)
#define makedev(x,y) ((dev_t) ((((x) & 0xff) << 8) | ((y) & 0xff)))
! #ifndef _FD_SET_T
! #define _FD_SET_T unsigned long
! typedef _FD_SET_T fd_set;
! #endif
#define FD_ZERO(set) (*(set) = 0L)
#define FD_CLR(fd, set) (*(set) &= ~(1L << (fd)))
*** 38.1 1993/10/21 16:12:46
--- ./wait.h 1993/10/24 18:47:02
***************
*** 40,46 ****
typedef union wait __union_wait_t;
/* Allow W* to get parameter in POSIX-Style (int) or BSD-Style (union wait)*/
! #ifdef __GNUC__
#define __W(x) ({union{typeof(x) __in; __union_wait_t __out;}__wu; \
__wu.__in=(x); __wu.__out; })
#define __WP union __waitp
--- 40,46 ----
typedef union wait __union_wait_t;
/* Allow W* to get parameter in POSIX-Style (int) or BSD-Style (union wait)*/
! #ifdef _EXPERIMENTAL_WAIT_MACROS
#define __W(x) ({union{typeof(x) __in; __union_wait_t __out;}__wu; \
__wu.__in=(x); __wu.__out; })
#define __WP union __waitp